/**
******************************************************************************
* @file    tim2.h
* @author  AE Team
* @version V1.1.0
* @date    28/08/2019
* @brief   This file contains all the tim2 inc file for the library.
******************************************************************************
* @copy
*
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
* TIME. AS A RESULT, MindMotion SHALL NOT BE HELD LIABLE FOR ANY
* DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
* FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
* CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*
* <h2><center>&copy; COPYRIGHT 2019 MindMotion</center></h2>
*/
#ifndef __TIM2_H_
#define __TIM2_H_
#include "HAL_device.h"
extern unsigned char  Time_Flag_10ms;
extern unsigned char  Time_Flag_100ms;
extern unsigned char Time_Flag_1s;

void Tim2_UPCount_test(u16 Prescaler, u16 Period);
void Tim2_UPStatusOVCheck_test(void);
void TIM2_IRQHandler(void);

extern unsigned int ucTim2Flag;
#endif

/**
* @}
*/

/**
* @}
*/

/**
* @}
*/

/*-------------------------(C) COPYRIGHT 2019 MindMotion ----------------------*/
